package com.ruoyi.app.service.impl;


import com.ruoyi.app.domain.Doctor;
import com.ruoyi.app.mapper.DoctorMapper;
import com.ruoyi.app.service.DoctorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 75460
* @description 针对表【doctor(k医生表)】的数据库操作Service实现
* @createDate 2025-05-16 14:58:45
*/
@Service
public class DoctorServiceImpl implements DoctorService {
    @Autowired
    DoctorMapper doctorMapper;
    @Override
    public Doctor selectDoctorById(Long doctorId) {
        return doctorMapper.selectDoctorById(doctorId);
    }

    @Override
    public List<Doctor> getselectDoctorById(Long doctorId, Integer limit) {
        return doctorMapper.getselectDoctorById(doctorId,limit);
    }
}




